﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Program
    {

        static void Main(string[] args)
        {
            MianJi a = new MianJi();
            SumUtils he = new SumUtils();
            GouZao b = new GouZao();
            GouZao c = new GouZao(2, "老赖", "财务部");
            b.Id = 1;
            b.Name = "西马";
            b.Pub = "行政部";
            Console.WriteLine("圆的面积为：" + a.C(10));
            Console.WriteLine("长方形的面积为：" + a.C(10, 10));

            Console.WriteLine("整数相加和为:"+he.J(10,10));
            Console.WriteLine("小数相加和为：" + he.J(0.1, 0.1));
            Console.WriteLine("两个字符串相加和为：" + he.J("yyyy", "uuuu"));
            Console.WriteLine("1到指定整数的和为：" + he.J(5));

            Console.WriteLine("员工的id为：{0} ，员工的姓名：{1} ，员工所在的部门：{2}", b.Id, b.Name, b.Pub);
            Console.WriteLine("员工的id为：{0} ，员工的姓名：{1} ，员工所在的部门：{2}", c.Id, c.Name, c.Pub);
        }
    }
}
